<html>
	<head>
		<meta charset="utf-8"></meta>
		<title>BSemaphore</title>
		<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<div class="class" name="BSemaphore">
			<h1>BSemaphore</h1>
			<p>继承自<a href="BObject.html">BObject</a></p>
			<p id="resume"><a href="#desc">详细</a></p>
			<h2>public</h2>
			<table id="public">
				<tr><td align="right"></td><td><a href="#BSemaphore(int)">BSemaphore</a>(int n = 0);</td></tr>
				<tr><td align="right"></td><td><a href="#~BSemaphore()">~BSemaphore</a>();</td></tr>
				<tr><td align="right">int </td><td><a href="#available()">available</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#acquire(int)">acquire</a>(int n = 1);</td></tr>
				<tr><td align="right">void </td><td><a href="#release(int)">release</a>(int n = 1);</td></tr>
				<tr><td align="right">bool </td><td><a href="#tryAcquire(int)">tryAcquire</a>(int n = 1);</td></tr>
				<tr><td align="right">bool </td><td><a href="#tryAcquire(int, int)">tryAcquire</a>(int n, int timeout);</td></tr>
			</table>
			<div id="desc">
				<h2>详细介绍：</h2>
			</div>
			<h2 id="docs">成员文档：</h2>
			<div id="BSemaphore(int)">
				<h3>BSemaphore(int n = 0);</h3>
			</div>
			<div id="~BSemaphore()">
				<h3>~BSemaphore();</h3>
			</div>
			<div id="available()">
				<h3>int available() const;</h3>
			</div>
			<div id="acquire(int)">
				<h3>void acquire(int n = 1);</h3>
			</div>
			<div id="release(int)">
				<h3>void release(int n = 1);</h3>
			</div>
			<div id="tryAcquire(int)">
				<h3>bool tryAcquire(int n = 1);</h3>
			</div>
			<div id="tryAcquire(int, int)">
				<h3>bool tryAcquire(int n, int timeout);</h3>
			</div>
		</div>
	</body>
</html>